package cn.iocoder.yudao.module.business.controller.admin.project.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 项目分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProjectPageReqVO extends PageParam {

    @Schema(description = "项目名称", example = "王五")
    private String projectName;

    @Schema(description = "年份")
    private String year;

    @Schema(description = "所属部门Id", example = "6387")
    private Long deptId;

    @Schema(description = "部门名称", example = "赵六")
    private String deptName;

    @Schema(description = "项目类型", example = "1")
    private String projectType;

    @Schema(description = "项目属性")
    private String projectAttribute;

    @Schema(description = "省")
    private String province;

    @Schema(description = "市")
    private String city;

    @Schema(description = "区")
    private String district;

    @Schema(description = "地区")
    private String area;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "状态")
    private String state;

    @Schema(description = "学科")
    private String subject;

    @Schema(description = "培训对象")
    private String trainee;

    @Schema(description = "封面图片", example = "https://www.iocoder.cn")
    private String coverUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "新字段-项目类型二级")
    private String projectTypeSecond;

    @Schema(description = "新字段-项目委托方")
    private String projectClient;

    @Schema(description = "新字段-项目周期")
    private String projectCycle;

    @Schema(description = "项目时长")
    private String projectDuration;

    @Schema(description = "项目天数")
    private String trainDay;

    @Schema(description = "培训人次")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] trainPersonTime;

}